home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / exampleCode / irix / playEngine / Makefile < prev    next >
Encoding:
Makefile  |  1994-08-02  |  432 b   |  25 lines

  1. #!smake
  2. #
  3.  
  4. include $(ROOT)/usr/include/make/commondefs
  5.  
  6. TARGETS    = demo
  7.  
  8. LCDEFS    = -DUSE_SEMAPHORES
  9. #LCDEFS    = -DDEBUG_SP
  10. LCOPTS    = -g
  11. LLDLIBS    = -laudio -laudiofile -laudioutil -lm
  12. CFILES    = playEngine.c demo.c
  13.  
  14. IM_ROOT != if { [ `whoami` = root ];} then { echo true;} fi
  15.  
  16. default all: $(TARGETS) 
  17. #if $(IM_ROOT) == "true"
  18.     chmod u+s $(TARGETS)
  19. #endif
  20.  
  21. include $(COMMONRULES) 
  22.  
  23. $(TARGETS): $(OBJECTS)
  24.     $(CCF) -o $@ $(OBJECTS) $(LDFLAGS)
  25.